#!/bin/sh

ps -ef|grep java

id=`cat jarid | awk '{print $0}' #$0`

kill -9 $id

echo "kill pid:$id success!"

ps -ef|grep java

